add command constructor, update graphics