part 1 done wo debugging