changed response type of 'getData' to mixed