remove unneccessary enumerate