setting environment