adding custom controller