removed unneeded scope