added seek and flee

also renamed a few variables