the reaction is a nucleophilic substitution that results in substitution of the leaving group on the substrate by a nucleophile with inversion of the stereocenter. make sure to reassign priorities in the product since the groups have changed. prioritization is by atomic mass.