add code for first time.