wrap sql query stuff
wrap sql query stuff
getting statuses
remove other status