break IMG class in different methods