setting up start sequence