split base into own file