add posts and refactored sub_style