added the instansiation of the sentinel.
changed an error in the inheritance of sentinel innerclass.