create two resources