highlight function takes into account unit mobility now