version 0.0.3. using cookies