get init code from gp branch