generalizing dbus commands