Now it accepts separator and frontColumn as parameters