spelling and removal of unused arguments