move validty checks; saving/loading [for debugging]