added select queries