serialisation more clean and code more readable