changed the name of lastcol to last parameter.