Setting milestone functionality