Julia modified and fmax added