Refatoring Code.