taking position from table header
table now basically shows how it is meant