how to design pins