Is it a good idea to add two global functions?