added random replacement policy, tested and seems to work properly