added nickname handling functions