Changed from dict to list type because dict does not handle multiple instances of same class