bslightly better code re