timelock into int in timelock_creat