Added some comment for documentational purposes and added column check.