Created dynamic posting functionality