Made the program work. only polish needed.