magic factory calls