moved financial functions into external script.