Started serialize method