added read button code