implemented robot leg issue