This looks like a repeat of line 36-44