lock free implementation of data structs