rewriting velascobot from scratch