seems like creating this `configuration` local variable is redundant here