added else for rest of commands as input