Wrapped up the api util