removing pointless function argument