trying equivalent to simple_four in java...