Implemented first functions into the API