rotfl
using vector instead of array