refactored and brought in postingset