Fixed for first programming assignemnt