add installed check