Optimised footprint code

(new line 17)