simplifying so I can use library externally