code leanup