Beginning of 2d trik model.