Hotdog logic added