Changed fdat to qdat.