initial working checkout handler