Changing from session to params/hardcoded values may make it even simpler.