starting to update to use pins