extension class split in different methods