worked on serialization (positions not ready yet)