Added functionality: adds up to a constant