added the invoke() collection method