change return type to string