modernize syntax