misc helper, version 1.2