change pin8 to pin12