added readings functionality