add timeline and client function for android