added myflats method