started developing of random search