work on spatial layer