completed logic! BABAM