saparated reading functionality in saparate class