updated with pin placement