what does this code do? (are you sure?)