making the broken? method work properly