added possibility pass nil parameters