save mostly working