pseudo codeded sync stuff, also updated todo list