copied stuff from gogobbles