thor implementation
thor implementation