trying to find bug with case