add pretty version of code