better service instantiation