project3a implemnted