Great fix to all functions, need adds save and load into file.