make getId and getMeta separate components