Need to fix overflow flag setting