diff --git a/alib2cli/src/environment/Environment.h b/alib2cli/src/environment/Environment.h
index 60a64c7ffcb452edd61e6dd872592594eaf5478f..6edac91dd3008d7f9cabe871479b862f01250634 100644
--- a/alib2cli/src/environment/Environment.h
+++ b/alib2cli/src/environment/Environment.h
@@ -30,8 +30,8 @@ public:
 			throw exception::CommonException ( "Binded value of name " + name + " not found." );
 	}
 
-	bool setBinding ( std::string name, std::string value ) {
-		return m_bindings.insert ( std::make_pair ( std::move ( name ), std::move ( value ) ) ).second;
+	void setBinding ( std::string name, std::string value ) {
+		m_bindings [ std::move ( name ) ] = std::move ( value );
 	}
 
 	bool clearBinding ( const std::string & name ) {
@@ -50,8 +50,8 @@ public:
 			throw exception::CommonException ( "Variable of name " + name + " not found." );
 	}
 
-	bool setVariable ( std::string name, std::shared_ptr < abstraction::OperationAbstraction > value ) {
-		return m_variables.insert ( std::make_pair ( std::move ( name ), std::move ( value ) ) ).second;
+	void setVariable ( std::string name, std::shared_ptr < abstraction::OperationAbstraction > value ) {
+		m_variables [ std::move ( name ) ] = std::move ( value );
 	}
 
 	bool clearVariable ( const std::string & name ) {