working with shell