added new version of bclose kwbd