added resource and post