deleted unnecessary cloud code