need to fix detox feature but its almost finished