debug file to catch occasional errors when loading via ready()