12/3

some error checking