Added fit for select clause