result helper deleted & analyze method moved to controller