These few lines can be simplified.