implements the build members method and tests