working in console, test on server