added ifs and such for POLAR_A