adding extra params to cnnff