trail class with wraparound and all 4 combinations