Rewrite style function to use arguments.length

…and to actually work