Adding getValues, improving prototype structure