added enum to pos
only show published post