+ added processing function for reads