added meta.top and meta.bot to output