creategainnode (deprecated) to creategain