marathon backend wip
moving logic into backends