modified Project 2