fixed typo in arguments and finshed case 7