removed unneccessary parameters from API