clean up of xy example