first attempt at callable serialization