app done,main ut done, to be merge