made nickname optional
formatting