move logic to controller
oops
' syntax is useful