change to asynchttpclient; rewrite datetime