initiates params onresume