Add first half of custom controller