Add missing return statement