updated label
removed unused function
fixed typo for resource id