first good try of AimSerialization