initializing with src