smooth transaction. credit to dnforum.

Review