change return value type