code for obfs calendar