added isinstalled parameter