added custom controller