some missing return statements