removed 2 vars because they have the same endpoint now