added pins
setting up patterns