added basic pin structure