Add method and case statement