used Bennys git version to eliminate the lightning range bug