adding  to object prototype with spec