debug print stuff added