simple test code that needs to be converted to boost as soon as it works ;) #4