correct returning datatype