tried some debugging