corrected generic method signature