users can now specify number of pins in use