added condition to student show robotics logic