strongestbeacon as a function on env