Update: added some documentation