better statehandling of products