combining multiple calls into a variable