corrected helper return