splitting in method