Move calculating timing in separate package