Added time offset and fixed error, fixes #33