modifications for adding salt