adding metadata class