initializing with source files