removed dependency on fromelf