cleaned up console.logs to be more readable