assigning classes fix, dj stubs