add basic version support