Taking out unused code
Adding simulating animation and some delay