add thor dependency