testing serializable
Print f fixed so that debugging works better