- added masonry functions