Added console logs for testing. (TEST MODE)