omg it works... refactored program without many functions...in work