found way to get largest element, all checks out