Add a generic function to replace duplicate code
Add an additional Capricorn sign, simplifying code