replaced robot constructor defaults with the right values