added spash screen code