On the maslov index