removed fun2 because function can be shared.