Changed fail! to panic!