worked through docs on console