Add report and magic functions