minor updates before I switch the code to use Restangular