minor: split up complex method definition line