add rudimentary attempt at formula