added combine logic