InitAction and related function added