moved "find" functions down
added "mark" functions and completion