removed json, and console logs