add that method for sam