Fixed the 3rd clause