Added relax function