simple implementation of matrix layer => volunteers welcome\!