added commands to read data