useless referencing and dereferencing