Bug correction and time measument