clean code on add