fixing sync read and implementing async read