New Monica's code
set java version 1.6