import logic for model by asta