Decreased amount of code