Added optional whitelist to getData() method