debugging info and exit removed