method injection instead of Instance
fixing tests