adding pre-loader