fixed some string formatting bugs and added some overloads