RSTP: code formating and commenting