get rid of WritePacked trait