How can I do that? Are there any standard functions I can use, or I have to make my own functions for that.