Went through first example code. Mostly working, except for requesting write access?