function stuff and string format