sambot logic and priority changes