Code format: add resource part