issue #25 : support layers model