bug checking.