fix position of boxes
create loop to search elements and find nodes