modified todo
changed all name string to names arrays