work with older java