add console write