purchase logging
luckyfixes, some work on statements