re code hero methods