simplified toList
implemented size