controller separated out to a file