some debug output and filling in the instructions