add breakpoint
correctly get metadata