basic save prototype working