(updated javadoc)