Added comments for the builder function