added variable nickname functionality