adding function to read ST's data