working on pins endpoint integration methods