Added a procedural method