Had problem with structure of program, changed.