Changed the uint32 for int in the API to facilitate the general usage