added quickinit macro