Add existing mess of code