adding vector convenience functions