added two files current.c and current ,
 added function is_realtime, but not integrated with existing staff yet .