code example for issue report