updated the solution for moms