now it works properly. I need only to adjust some little things