offset: extracted part definition to its own file