resuming combined code