custom clearing