record controller