added qie codes, seems to be working
removed useless line