updated generic method definition.