added written documentation