You can use formatted methods to minimize the code