compliant wit java 1.6