add interactive directive