Updated bare-bones snippet