adding pinable support function