damn BGA is giving me headaches (code still incomplete)