moved property initialisation into the constructor.