moved the explicit instantiation to end of file to fix undefined refs