made changes so works like Megan expects