class worked on pins