add out class properly