added step checking for columns