added debug ifdef switch