simplify the adapter interface