[FIX] function timing works properly