updated to latest implementation
updated 'earth' example