Both pieces work correctly.