change store_coord to define optional layer to store at