copy original vector functions
possible solution - no comments