use salt in find function instead