Added a method to check columns