some changes. added limits in commands and modes of drive