prepare for metadata coming from API
remove console.log