added model to input