refactoring to remove hardcoding from quote subscription