debug init and vars