Simplifies Code