Logic setted