altered snippet and database