Added statements for delete and select