implemented save extension