removed dependency on gim external package