code reformatting

reformating the code