Moved to java 6 compatibility
Created Emily example.