updated usage after implementing changes in #1