Made code prettier with string formatting