make it works with options