removing unneeded assignment in the commands