initial parse cloud code