added splash screen code