added select statement