Existence results for boundary value problems of fractional functional differential equations with delay