added flat tables button