Cleaned BA. Made some tests.