code's getting worse but functionality is getting better