add extension point
add resources check