Refracted the code.