using forward declaration
fixing typo