added user control for pins