addign console logs to try to figure out what in the hell is going on