some checkout work