outputs data and reads correctly