adjusting header part
added borders to span for debugging