Added prepare for selects