pinning and editing added