reading doubles and simple variables, changed Makefile as well