string math moved to separate files