some dynamic string formatting