initial implementation of -v