dont ask, dont tell... anyway getCookie method added