screenshots, trying java code