making it compliant for all shells