added internal spy