add documentation to brick helper method