Midtern shell formating