nick beginning to use avoidMarked