begun working on sql statements