time
finalizing code