Adding interface for setting and reading velocity