Reducing the code as much as I can.