redid assignment the correct way