Added basic code for slicing enviroment