change return variable type