acceptes empty style hash

modified to accept empty style hash, so now passing the style option is optional