partialy working for different proccess, no between threads