added hook-in directly to controller