integrating both and