added sequence diagrams
some small fixes