attempt to make exercise lesson detection cross-platform