adding a salt method