add select statement functionality. #33