moves up forward declaration
Merge pull request #1 from efernandez/bad_forward_declaration

moves up forward declaration