metadata loading