compose + database