status int the table
status class check simplified