missing return statements