click working
minor
ready for qt