research into using classes as vectors