dont panic, rather return errors in main