offset can now be specified in options. fix #4