HW4: Syncing with alireza.