added support for fetch completion handler