added serialized retrieval functionality and tests