taking a snapshot of working env