follow me i will post all code in few minutes