add stuff to docs, modify __init__ method