added some debugging
remvoed debug