parsing doubles, emums, new dependancy on endian.h