correcting the version number
instantiating the object to prevent the null pointer