ugly solution for 11