Waterproof and shock resistant design