removed dependency on stdc package