added resolve resource