Redefined int type
Add now time string
Add error handle