Splitup logic