added salt option