working on formula manipulation and basic tests