simplified shell coding framework