added docs. still playing with it but will do for now