re-formating code