added functionality to shell adapter