handling basic shell