Refactored code to use Phalcon