Simplifying the code.