code refactored for epic combo