You might want to combine L40-L41