make class declaration first