Create add pins method to frame