added more logs to console