Completed Morris code