fixed some comp errors but A star still doesnt work