add read and write to app