Add basedOn variable