adding changes to prob427