same thing as line 15 here. Maybe you should create a helper function so you won't have to rewrite the same code multiple times ?