added caption and changed some css rules