accepts options properly