added beginning of block avoider code
added block avoider code (not p-controller)