added new 'list' method that returns List<String>