added local time constructor