working on clean function