changed implementation of vectors to the subsystem