added docs, had limited success running this code