wip
add process protection