trying to find bug