hamlet captain