Code for fits, clean, right location