added column and where inputs