faster/simpler code.