Using dinamic models in pills