add phalcon foreign