added definitions for vectors