added adab random gen