fixing declarations
addding initial vector implementation