first pass at pin class