check for comma or dot method added