starting to plug in relaxation code