I've never used classes before and I am trying to get a general understanding of how they work with the code example I have below. Im having issues referencing one of the names i define for a class. i just want the program to print out a list of the employee names and salaries stored in the list when the option 2 is entered but it gives me the following error:

Traceback (most recent call last):
 File "C:\Scott Glenn\Misc\classes.py", line 31, in 
 employees[i].displayEmployee
AttributeError: 'str' object has no attribute 'displayEmployee'

```
class Employee:
    'Common base class for all employees'
    empCount = 0

    def __init__(self, name, salary):
        self.name = name
        self.salary = salary
        Employee.empCount += 1

    def displayCount(self):
        print "Total Employee %d" % Employee.empCount

    def displayEmployee(self):
        print "Name : ", self.name,  ", Salary: ", self.salary

def AddNewEmployee():
    NewEmployee = raw_input("What is the Employees name: ")
    employees.append(str(NewEmployee))
    NewEmployeeSalary = raw_input("What is the Employees salary: ")
    NewEmployee = Employee(NewEmployee, NewEmployeeSalary)
    return employees
#=============================================================================
employees=[]
while(1):
    print'Welcome to the Employee Database!'
    option = raw_input('Please select 1 to add new employee or 2 to      display all current employees: ')
    if option=='1':
        employees.append(AddNewEmployee())
    if option=='2':
        for i in range(0,len(employees)):
            employees[i].displayEmployee

```