part 1 checking
same format