altered select statement