add classes vector and point