line guessing assignment (seems to be buggy now)