deleted style setteing feature of constructor, it's disused and not tested.