removed args from fcuntion parameters