took out get request in index