use .getState() instead for better time info