More work on vec class