getgenerics implemented