Added homework code to add commands and references to scrollView