Procedural approach

Not OOP approach