added Model layer