cleaned up zsh functions