Almost working, one thing left - find proper method.