moved source path definition to top