added reverselist method