parsing metadata