new methods val and serialize