changed app.'s to match tutorial