added custom function to .zshrc