Ugly solution