changed datatype for returning stuff