Storing length outside of handler for performance