fleshed out the xp_log class a bit