adding a boolean constructor to Atom