Changed fail! to panic