Do not use deprecated function syntax