perhaps add a comment for readability on what is being done here