read data using In class