passes java validator