add splash functionality