dried up controller code