add comand(a and i) and fix d command