clean custom method