added resource sharing prototype