Clear functionality