Does anyone have an idea what is wrong in this code? The result is correct...