cleaned up the pin scaffold