An apparatus in the form of a wireless node , said apparatus comprising a controller for communicating wirelessly with at least one further wireless node , said controller is adapted to: - detect whether the at least one further wireless node is of a specific kind and is in the vicinity of the wireless node ; wherein the specific kind corresponds to either a coordinator node or an initiator node and the wireless node is capable of forming a distributed network using a ZigBee Light Link, ZLL, profile or capable of forming a centralized network using a ZigBee Home Automation, ZHA, profile and wherein the controller is further adapted to: - determine an ability of the wireless node , wherein said ability relates to whether the wireless node has network forming capabilities and of what kind and - configure said wireless node to create a network, wherein a characteristic of the network depends on the determined ability of the wireless node, wherein the controller is arranged to configure the wireless node : - to create a distributed network using the ZLL profile when the wireless node is determined to be a ZLL router device and no further wireless node of the specific kind is detected in the vicinity of the wireless node or - to create a centralized network using the ZHA profile when the wireless node is determined to have ZHA coordinator capabilities and no further wireless node of the specific kind is detected in the vicinity of the wireless node . - detect whether the at least one further wireless node is of a specific kind and is in the vicinity of the wireless node ; wherein the specific kind corresponds to either a coordinator node or an initiator node and the wireless node is capable of forming a distributed network using a ZigBee Light Link, ZLL, profile or capable of forming a centralized network using a ZigBee Home Automation, ZHA, profile and wherein the controller is further adapted to: - determine an ability of the wireless node , wherein said ability relates to whether the wireless node has network forming capabilities and of what kind and - configure said wireless node to create a network, wherein a characteristic of the network depends on the determined ability of the wireless node, wherein the controller is arranged to configure the wireless node : - to create a distributed network using the ZLL profile when the wireless node is determined to be a ZLL router device and no further wireless node of the specific kind is detected in the vicinity of the wireless node or - to create a centralized network using the ZHA profile when the wireless node is determined to have ZHA coordinator capabilities and no further wireless node of the specific kind is detected in the vicinity of the wireless node . - to create a distributed network using the ZLL profile when the wireless node is determined to be a ZLL router device and no further wireless node of the specific kind is detected in the vicinity of the wireless node or - to create a centralized network using the ZHA profile when the wireless node is determined to have ZHA coordinator capabilities and no further wireless node of the specific kind is detected in the vicinity of the wireless node . <EOS>