Creating my own global functions