Readded needed variables