added model delegate