added first equation stuff