checking that accepts comma