put run logic into def main
put in real logging