getData methods usage