working with foundation