Some error checking in constructor