change syntax example structure for resources