basic setup copied from troywarr.info