Simplify a portion of the code