added getting random product method