Shell method example 2