update 13-10-2013 (fix bug and input real data)