creating start method for on start configuration
rename run to a more meanigful name