temporal one
add resource manager logic
add test