lock guard added