Changing pins layout