updated with pin scaffold