added model layer