no longer only allowing string in attributes, added a simple performance test