explain EXACTLY how this works