removed unneeded inner type