more sane method to check for beam