initialze appended symbols with 0
added list values, use list of predefined data types instead of coding each one separately
file mode