changes to methods in controller.php 3/21

add separate methods below and add calls; add notes