change addWhere to where