testing barron implementation... not perfect.