added mem files, found problem with double as argument, put note in todos