upload, mapping out classes