trying to fix both project 1 and 4