Status as a datatype