added sql commands