Finished funnydog logic