qt interface now functional