improved gcwinterface