more sample code + changes in exportParams