added .layout .depend and .res