delete warning and update Javadoc
adding time computing