removing the unnecessary arguments