added documentation. modified styles