added logik