Made reading indicator into functions