use options hashes instead

makes things flexible