is it using vector or there is simple methode of this ..