adding version selection. not the right way. just poc for now