added mock snippet