cheap hacky logging