edit to format standarn code