added myaffine