removed date and part of select statement