strike calculation + javadoc