Refactoring the original "mark" tag to make sure that it has the same functionalities as before.