stripped off the unnecessary code.