new way of initializing servies