ADDED: format to retrieve the number
FIXED: serializable issues with data structures