updated status to use smallint not integer