Update 12.9.14

- Added the function to the first ‘if statement’ so to the make code
more concise