make some vars out of prototype