io and db added