add function for relaxation