initializing todostruct