optimize for pandorabox