hw1 is able to read commands