added deriv3 and file inputs