version function added
vanilla + development branch