New lighter version taken from the derby-examples Directory