changed the way new pin works