working on random ideal