updated logic.php, no more if statement