created combine items functionality