procedural method def example